<!--
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-11-02 13:13:25
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2022-11-29 10:43:13
 * @FilePath: \backstage - 副本\src\views\aa.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
    <div>

        <el-button type="primary" @click="clickUpload" size="mini">上传文件</el-button>
        <upload :dialogUpload="dialogUpload" @closes="closeDialog" fileType="1" folderid="file99" @upFileList="getFile">
        </upload>
        <el-button type="primary" @click="clickUpload1" size="mini">上传照片</el-button>
        <upload :dialogUpload="dialogUpload1" @closes="closeDialog" fileType="0" folderid="file88" @upFileList="getFile">
        </upload>




    </div>
</template>
 
<script>
import upload from "@/components/public/el-upload.vue"




export default {
    components: {

        upload,

    },
    data() {
        return {
            dialogUpload: false,
            dialogUpload1: false,


        };
    },

    watch: {

    },
    methods: {


        closeDialog() {
            this.dialogUpload = false
        },
        clickUpload() {
            this.dialogUpload = true
        },
        clickUpload1() {
            this.dialogUpload1 = true
        },
        getFile(val) {
            console.log(val);
        },

    }
}
</script>
 
<style lang="less" scoped></style>
